package com.qi.pay.demo.model;

public class ApiResponse<T> extends ApiBase{
	
	
	private T body;
	
    // 报文响应状态。
    public Integer status;

    // 报文响应消息。
    public String message;

    /// 判定当前响应报文是否包含错误。
    public Boolean fail;
    

	@Override
	public String toString() {
		return "ApiResponse [body=" + body + ", status=" + status + ", message=" + message + ", fail=" + fail + "]";
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Boolean getFail() {
		return fail;
	}

	public void setFail(Boolean fail) {
		this.fail = fail;
	}

	public T getBody() {
		return body;
	}

	public void setBody(T body) {
		this.body = body;
	}

	
    
	
    


}